def getTrafficDensity(aSpeed):
    if aSpeed<5:
        return 6
    if 5<=aSpeed<10:
        return 5
    if 10<=aSpeed<15:
        return 4
    if 15<=aSpeed<30:
        return 3
    if 30<=aSpeed<50:
        return 2
    if 50<=aSpeed<100:
        return 1
    if aSpeed>100:
        return 0
    
speed=input("enter speed")
out=getTrafficDensity(speed)
print(out)
